'use strict';
// Copyright 2014 Blueant Inc. All Rights Reserved.

/**
 * @fileoverview 英雄受击次数少于$1次
 * @author sundbcn@gmail.com (sun debing)
 */

var EventCondition = function () {

};

/**
 * 验证
 */
EventCondition.prototype.check = function (condition, role_model, soldier_model) {
    if (role_model.getLv() >= condition.value_1) {
        return true;
    }
    return false;
};

module.exports = new EventCondition();
